package designmode.iterator;

public class Main {
    public static void main(String[] args) {
        System.out.println("iterator start");
        // aggregate
        
    }
    class MyThread extends Thread{
        String name;

        public MyThread(String name, String name1) {
            super(name);
            this.name = name1;
        }

        @Override
        public void run() {
            System.out.println(Thread.currentThread().getName());
        }
    }
}
